import core from 'gapi/core'

class testApi extends core{
	/**
	 * 在这里定义调用 Native 的函数
	 */
	testFn (arg1, arg2, arg3, callBack){
		this.sendData({
			method: 'testFn',
			param: {
				arg1: arg1,
				arg2: arg2,
				arg3: arg3
			},
			callBack: callBack
		})
	}
}

export default new testApi({
	name: 'test api',
	author: 'huochunyang1@doumi.com',
	version: '2.0',
	jsbc: jsBridgeClient,
	// nativeCls 一定要和客户端的同学对应
	nativeCls: 'testApi'
})